package pers.exercise.BridgePattern;

public abstract class RefinedCar extends Car {

  

    public RefinedCar(Engine engine) {
        super(engine);
    }
    
    @Override
    public void drive() {
        this.engine.start();
        System.out.println("Drive "+getBrand()+ " car...");
    }

    public abstract String getBrand();
}
